You are here: Building the Logic > Routing Move Logic > Statement Processing
Statements executed before a MOVE related statement are processed after the entity claims the next location but before the entity actually departs from the current location.
Statements executed after a MOVE related statement are processed after the move has been completed but before the entity enters the location. If there is no move logic, the entity continues processing until it encounters an implicit WAIT. However, if "MOVE FOR 0" is placed in the move logic, the event list is broken and other processes scheduled to occur at the same time are executed. Once these processes are executed, the entity enters the destination location.
This processing sequence allows you to GET or JOINTLY GET one or more resources before the move and optionally FREE one or more resources at the end of the move. Please note that if a move related statement is not encountered in the logic, an implied MOVE will be assumed and executed at the end of the logic.